namespace SimpleWebServices.Web.UI.Html.Validation
{
    using System;
    using Xunit;

    public sealed class IErrorFacts
    {
        [Fact]
        public void typedef()
        {
            Assert.True(typeof(IError).IsInterface);
        }

        [Fact]
        public void IError_Description_get()
        {
            try
            {
                string value = (new IErrorDummy() as IError).Description;
                Assert.True(false);
            }
            catch (NotSupportedException)
            {
            }
        }
    }
}